package base.Model;

import javafx.scene.shape.Rectangle;

public class SelectionRectangle extends Rectangle {

    public SelectionRectangle() {
        setStyle("-fx-fill: rgba(153, 217, 234, 0.5); -fx-stroke: white; -fx-stroke-width: 1; -fx-background-color:#7ED8ED");
        setMouseTransparent(true);
    }

    public void updateSize(double x, double y, double width, double height) {
        setX(x);
        setY(y);
        setWidth(width);
        setHeight(height);
    }
}
